package com.qding.park.common.core.exceptions;

/**
 * @ClassName ControllerException
 * @Description TODO(表现层异常)
 * @author Administrator
 * @Date 2016年8月31日 上午10:25:01
 * @version 1.0.0
 */
public class ControllerException extends BaseException {

public static enum TypeEnum {
		
		EXCEPTION_PARAMS_VALIDATE(ModularEnum.MODULAR_MANAGER_CONTROLLER.getId() +".0001","业务异常--参数校验异常");
		
		
		private String id;
		
		private String desc;
		
		private TypeEnum(String id,String desc){
			this.id=id;
			this.desc=desc;
		}

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getDesc() {
			return desc;
		}

		public void setDesc(String desc) {
			this.desc = desc;
		}
		
		
	}
	
	
	public ControllerException(ExceptionMessage exceptionMessage, Exception ex) {
		super(exceptionMessage, ex);
		// TODO Auto-generated constructor stub
	}

	/**
	 * @Field @serialVersionUID : TODO(这里用一句话描述这个类的作用)
	 */
	private static final long serialVersionUID = 1L;

}
